package com.kabigon.tiny.service.impl;

import com.kabigon.tiny.dao.BookMapper;
import com.kabigon.tiny.domain.Book;
import com.kabigon.tiny.service.BookService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.service.impl
 * @data 2022/10/16 15:24
 */
@Service
public class BookServiceImpl implements BookService {

    @Resource
    private BookMapper bookMapper;

    @Override
    public Book getById(Integer id) {
        return bookMapper.getById(id);
    }
}
